export const DriverRoutes = [{
  path: '/',
  component: resolve => require(["./driver.component.vue"], resolve),
  children: [{
    path: 'driver',
    name: '配送员首页',
    component: resolve => require(["../driver.vue"], resolve),
    meta:{
      level:1
    }
  },
  {
    path: 'awaitList',
    name: '待处理订单',
    component: resolve => require(["../awaitList.vue"], resolve),
    meta:{
      level:2
    }
  },{
    path: 'allList',
    name: '配送员-订单列表',
    component: resolve => require(["../allList.vue"], resolve),
    meta:{
      level:2
    }
  },
  // {
  //   path: 'billDetail',
  //   name: '配送员-订单详情',
  //   component: resolve => require(["../billDetail.vue"], resolve),
  //   meta:{
  //     level:2
  //   }
  // },
  {
    path: 'pickUp',
    name: '处理订单',
    component: resolve => require(["../pickUp.vue"], resolve),
    meta:{
      level:4
    }
  },{
    path: 'map',
    name: '地图',
    component: resolve => require(["../map.vue"], resolve),
    meta:{
      level:5
    }
  },{
    path: 'addTicket',
    name: '购票信息',
    component: resolve => require(["../addTicket.vue"], resolve),
    meta:{
      level:5
    }
  }]
}]